.class Lcom/nemustech/tiffany/world/TFEffect$1$1;
.super Ljava/lang/Object;
.source "TFEffect.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/tiffany/world/TFEffect$1;->run()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/nemustech/tiffany/world/TFEffect$1;


# direct methods
.method constructor <init>(Lcom/nemustech/tiffany/world/TFEffect$1;)V
    .locals 0
    .parameter

    .prologue
    .line 262
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 265
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v1}, Lcom/nemustech/tiffany/world/TFEffect;->access$500(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/widget/FrameLayout;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v2, v2, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v2}, Lcom/nemustech/tiffany/world/TFEffect;->access$400(Lcom/nemustech/tiffany/world/TFEffect;)Lcom/nemustech/tiffany/world/TFView;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->removeView(Landroid/view/View;)V

    .line 266
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v1}, Lcom/nemustech/tiffany/world/TFEffect;->access$500(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/widget/FrameLayout;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/FrameLayout;->getParent()Landroid/view/ViewParent;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 267
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v1}, Lcom/nemustech/tiffany/world/TFEffect;->access$600(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/view/WindowManager;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v2, v2, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v2}, Lcom/nemustech/tiffany/world/TFEffect;->access$500(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/widget/FrameLayout;

    move-result-object v2

    invoke-interface {v1, v2}, Landroid/view/WindowManager;->removeView(Landroid/view/View;)V

    .line 270
    :cond_0
    const/4 v0, 0x0

    .local v0, i:I
    :goto_0
    const/4 v1, 0x2

    if-ge v0, v1, :cond_2

    .line 272
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v1}, Lcom/nemustech/tiffany/world/TFEffect;->access$700(Lcom/nemustech/tiffany/world/TFEffect;)[Landroid/graphics/Bitmap;

    move-result-object v1

    aget-object v1, v1, v0

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v1}, Lcom/nemustech/tiffany/world/TFEffect;->access$800(Lcom/nemustech/tiffany/world/TFEffect;)[Z

    move-result-object v1

    aget-boolean v1, v1, v0

    if-eqz v1, :cond_1

    .line 273
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v1}, Lcom/nemustech/tiffany/world/TFEffect;->access$700(Lcom/nemustech/tiffany/world/TFEffect;)[Landroid/graphics/Bitmap;

    move-result-object v1

    aget-object v1, v1, v0

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->recycle()V

    .line 270
    :cond_1
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 276
    :cond_2
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->val$modelsToDetach:[Lcom/nemustech/tiffany/world/TFModel;

    if-eqz v1, :cond_3

    .line 277
    const/4 v0, 0x0

    :goto_1
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->val$modelsToDetach:[Lcom/nemustech/tiffany/world/TFModel;

    array-length v1, v1

    if-ge v0, v1, :cond_3

    .line 279
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->val$modelsToDetach:[Lcom/nemustech/tiffany/world/TFModel;

    aget-object v1, v1, v0

    invoke-virtual {v1}, Lcom/nemustech/tiffany/world/TFModel;->deleteAllImageResource()V

    .line 277
    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    .line 283
    :cond_3
    iget-object v1, p0, Lcom/nemustech/tiffany/world/TFEffect$1$1;->this$1:Lcom/nemustech/tiffany/world/TFEffect$1;

    iget-object v1, v1, Lcom/nemustech/tiffany/world/TFEffect$1;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v1}, Lcom/nemustech/tiffany/world/TFEffect;->access$1200(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/os/Handler;

    move-result-object v1

    new-instance v2, Lcom/nemustech/tiffany/world/TFEffect$1$1$1;

    invoke-direct {v2, p0}, Lcom/nemustech/tiffany/world/TFEffect$1$1$1;-><init>(Lcom/nemustech/tiffany/world/TFEffect$1$1;)V

    invoke-virtual {v1, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 290
    return-void
.end method
